package com.zhenzhen.xszhcp.mapper;

import com.zhenzhen.xszhcp.model.Student;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Component
public interface StudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> getStudentList(Map paramMap);

    List<Student> getStudentByClasses(int cid);

    Student getStudentByLast();

    Student getStudentByIdcard(int idcard);
}